package red.stu.pconstraint.engine.exception;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
 * 不是当前引擎负责的流程
 * @author yihrmc @stu.red
 * @date 2019/11/23 17:11
 */
public class NotExpectedProcessException extends EngineException {

    public NotExpectedProcessException() {
        super();
    }

    public NotExpectedProcessException(@Nullable String processInstanceId, @NotNull String processId) {
        super("Current[processInstanceId=" + processInstanceId + "] Target[processId=" + processId + "]");
    }

}
